package ch.jamme.exception;

/**
 * This exception is thrown when a generic problem happens during the marshall process
 * @author Mario Fusco
 */
public class MarshallException extends JammeException {

	private static final long serialVersionUID = 1L;
	
	public MarshallException(Throwable cause) {
		super("Marshall error caused by " + cause.getLocalizedMessage(), cause);
	}
	
	public MarshallException(String message) {
		super(message);
	}
}
